package com.tcm.entity.dto.param;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 笔记更新参数封装
 * @author Guqier
 * @version 1.0
 * @date 2023/8/22 16:17
 */
@Data
public class NoteUpdateDto {


    private Long id;// 笔记ID

    @NotNull(message = "itemId不能为空")
    private Long itemId;// 题目ID

    @NotNull(message = "type不能为空")
    private Integer type;// 题目类型

    @NotBlank(message = "content不能为空")
    private String content;// 笔记内容

}
